package pandora.data;

import java.util.List;

import pandora.dto.CustomerDTO;
import pandora.dto.RatingDTO;
import pandora.dto.StoreDTO;

public interface IRatingDAO {

	//JMPG
	public RatingDTO getRatingByUser(String nif,String type, String usr) ;
	public Float getAverageRatingByType(StoreDTO store, String type);
	public Float getAverageRating(String nif);
	public void saveRatings(List<RatingDTO> puntuaciones);
	//JMPG
	
	String selectRatingOID(StoreDTO store, CustomerDTO customer, String type);
}
